package com.food.eat.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * @Author RenPu
 * @Date 2021/10/25 11:45
 * @Version 1.0
 * @Description:
 **/
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@Table(name = "model")
public class Model {
    @Id
    private String id;
    @Column(name = "first_datas")
    private String firstDatas;
    @Column(name = "level_datas")
    private String levelDatas;

    @Transient
    private List<Item> firstData;
    @Transient
    private List<ItemTwice> levelData;
}
